import Vue from 'vue'
import Router from 'vue-router'

Vue.use(Router)

export default new Router({
  routes: [
    {//首页
      path: '/',
      component: () => import('../pages/home')
    },{//登录
      path:'/login',
      component: () => import('../pages/login')
    },{//注册
      path:'/register',
      component: () => import('../pages/register')
    },{//忘记密码
      path:'/forgetpsd',
      component: () => import('../pages/forgetpsd')
    },{//币币交易
      path:'/trade',
      component: () => import('../pages/trade')
    },{//个人中心首页
      path:'/personal',
      component: () => import('../pages/personal')
    },{//个人中心==>我的信息
      path:'/myinfo',
      component: () => import('../pages/person/myinfo')
    },{//个人中心==>重置登录密码
      path:'/resetpsd',
      component: () => import('../pages/person/resetpsd')
    },{//个人中心==>绑定手机
      path:'/bindphone',
      component: () => import('../pages/person/bindphone')
    },{//个人中心==>绑定邮箱
      path:'/bindemail',
      component: () => import('../pages/person/bindemail')
    },{//个人中心==>绑定谷歌
      path:'/bindgoogle',
      component: () => import('../pages/person/bindgoogle')
    },{//个人中心==>解绑谷歌
      path:'/untiedgoogle',
      component: () => import('../pages/person/untiedgoogle')
    },{//个人中心==>防钓鱼码
      path:'/fishingcode',
      component: () => import('../pages/person/fishingcode')
    },{//个人中心==>C1认证
      path:'/c1Auth',
      component: () => import('../pages/person/c1Auth')
    },{//个人中心==>C2认证
      path:'/c2Auth',
      component: () => import('../pages/person/c2Auth')
    },{//个人中心==>C3认证
      path:'/c3Auth',
      component: () => import('../pages/person/c3Auth')
    },{//个人中心==>API管理
      path:'/apiManagement',
      component: () => import('../pages/person/apiManagement')
    },{//个人中心==>安全设置
      path:'/safeSetting',
      component: () => import('../pages/person/safeSetting')
    },{//个人中心==>收款设置
      path:'/paymenttype',
      component: () => import('../pages/person/paymenttype')
    },{//个人中心==>绑定支付宝
      path:'/bindPayway',
      component: () => import('../pages/person/bindPayway')
    },{//个人中心==>绑定微信
      path:'/bindWechat',
      component: () => import('../pages/person/bindWechat')
    },{//个人中心==>绑定银行卡
      path:'/bindbankcard',
      component: () => import('../pages/person/bindbankcard')
    },{//个人中心==>我的资产
      path:'/myAssets',
      component: () => import('../pages/person/myAssets')
    },{//个人中心==>充值
      path:'/recharge',
      component: () => import('../pages/person/recharge')
    },{//个人中心==>提币
      path:'/withdraw',
      component: () => import('../pages/person/withdraw')
    },{//个人中心==>提币成功
      path:'/withdrawSuc',
      component: () => import('../pages/person/withdrawSuc')
    },{//个人中心==>提币地址
      path:'/withdrawAddress',
      component: () => import('../pages/person/withdrawAddress')
    },{//个人中心==>充提记录
      path:'/rechargeRecord',
      component: () => import('../pages/person/rechargeRecord')
    },{//个人中心==>认购记录
      path:'/subscriptionRecord',
      component: () => import('../pages/person/subscriptionRecord')
    },{//个人中心==>当前委托
      path:'/commissionRecord',
      component: () => import('../pages/person/commissionRecord')
    },{//个人中心==>历史委托
      path:'/historyMissionRecord',
      component: () => import('../pages/person/historyMissionRecord')
    },{//个人中心==>历史成交
      path:'/historyMissionDeal',
      component: () => import('../pages/person/historyMissionDeal')
    },{//个人中心==>邀请好友
      path:'/invite',
      component: () => import('../pages/person/invite')
    },{//法币交易==>法币交易
      path:'/tradeMarket',
      component: () => import('../pages/c2c/tradeMarket')
    },{//法币交易==>订单详情
      path:'/orderDetail/:id',
      component: () => import('../pages/c2c/orderDetail')
    },{//法币交易==>申请商户
      path:'/applyMerchant',
      component: () => import('../pages/c2c/applyMerchant')
    },{//法币交易==>申请商户
      path:'/applyForMerchant',
      component: () => import('../pages/c2c/applyForMerchant')
    },{//法币交易==>我的广告
      path:'/myAdvert',
      component: () => import('../pages/c2c/myAdvert')
    },{//法币交易==>发布广告
      path:'/publishAdvert',
      component: () => import('../pages/c2c/publishAdvert')
    },{//法币交易==>编辑广告
      path:'/editAdvert/:id',
      component: () => import('../pages/c2c/editAdvert')
    },{//法币交易==>发起申诉
      path:'/appeal/:orderNo',
      component: () => import('../pages/c2c/appeal')
    },{//法币交易==>申诉详情
      path:'/appealDetail/:orderNo',
      component: () => import('../pages/c2c/appealDetail')
    },{//法币交易==>我的订单
      path:'/myOrder',
      component: () => import('../pages/c2c/myOrder')
    }, {//资讯==>资讯
      path: '/news',
      component: () => import('../pages/other/news')
    }, {//资讯==>资讯详情
      path: '/newsDetail/:newsId',
      component: () => import('../pages/other/newsDetail')
    }, {//活动==>活动
      path: '/activity',
      component: () => import('../pages/other/activity')
    }, {//活动==>活动详情
      path: '/activityDetail/:activityId',
      component: () => import('../pages/other/activityDetail')
    }, {//通知公告==>常见问题/公告中心
      path: '/announcement',
      component: () => import('../pages/other/announcement')
    }, {//通知公告/常见问题==>通栏模板
      path: '/terms',
      component: () => import('../pages/other/terms')
    }, {//通知公告/常见问题==>工单管理
      path: '/workManage',
      component: () => import('../pages/other/workOrderManage')
    }, {//通知公告/常见问题==>工单详情
      path: '/workDetail',
      component: () => import('../pages/other/workOrderDetail')
    }, {//通知公告/常见问题==>文章详情
      path: '/articleDetails',
      component: () => import('../pages/other/articleDetails')
    }, {//上币申请说明==>上币申请说明
      path: '/applyToList',
      component: () => import('../pages/other/applyToList')
    }, {//通知公告/常见问题==>资讯检索
      path: '/searchResult',
      component: () => import('../pages/other/searchResults')
    }, {//通知公告/常见问题==>列表
      path: '/announceList',
      component: () => import('../pages/other/announceList')
    }, {//站内信
      path: '/userMessage',
      component: () => import('../pages/other/userMessage')
    }, {//H5==>公告和常见问题详情
      path: '/h5/articleDetails',
      component: () => import('../pages/h5/articleDetails')
    }, {//H5==>下载页
      path: '/h5/download',
      component: () => import('../pages/h5/download')
    }, {//注册
      path: '/h5/register',
      component: () => import('../pages/h5/register')
    }, {//验证
      path: '/other/nc',
      component: () => import('../pages/other/nc')
    }, {//预测合约
      path: '/future',
      component: () => import('../pages/future')
    }, {// 用户协议
      path: '/h5/clause',
      component: () => import('../pages/h5/clause')
    }, {// 隐私声明
      path: '/h5/agreement',
      component: () => import('../pages/h5/agreement')
    }, {// 游戏
      path: '/game',
      component: () => import('../components/game')
    }, {// 共识兑换
      path: '/consensus',
      component: () => import('../pages/consensus/consensus')
    }, {// 项目首发
      path: '/projectLaunch',
      component: () => import('../pages/other/projectLaunch')
    },  {// 详情
      path: '/detail/:id',
      component: () => import('../pages/other/detail')
    },

    // 底部k网页面

    ,  {
      path: '/why-Qtglobal',
      component: () => import('../pages/k/why-Qtglobal')
    },  {
      path: '/institutions',
      component: () => import('../pages/k/institutions')
    },  {
      path: '/careers',
      component: () => import('../pages/k/careers')
    },  {
      path: '/new',
      component: () => import('../pages/k/new')
    },  {
      path: '/press',
      component: () => import('../pages/k/press')
    }

    ,  {
      path: '/support-24-7',
      component: () => import('../pages/k/support-24-7')
    },  {
      path: '/account-management',
      component: () => import('../pages/k/account-management')
    },  {
      path: '/funding-options',
      component: () => import('../pages/k/funding-options')
    },  {
      path: '/liquidity',
      component: () => import('../pages/k/liquidity')
    },  {
      path: '/security',
      component: () => import('../pages/k/security')
    },

    ,  {
      path: '/legal',
      component: () => import('../pages/k/legal')
    },  {
      path: '/privacy',
      component: () => import('../pages/k/privacy')
    },  {
      path: '/disclosures',
      component: () => import('../pages/k/disclosures')
    },  {
      path: '/bug-bounty',
      component: () => import('../pages/k/bug-bounty')
    },  {
      path: '/api',
      component: () => import('../pages/k/api')
    }
  ]
})
